home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ARexxTools / fw_macros.lha / Draw_Line < prev    next >
Encoding:
Text File  |  1996-09-27  |  706 b   |  30 lines

  1. /* ======================================== */
  2. /*  FINAL WRITER AREXX MACRO                */
  3. /*    by Nigel S. Domaingue, 28/1/95        */
  4. /*  Draw_Line                               */
  5. /*  $Ver:  Draw_Line v1.0 (30/1/95)         */
  6. /* ======================================== */
  7.  
  8. Options Results
  9.  
  10. /* Must determine the current page and the current */
  11. /* scroll-position so that the line will be placed */
  12. /* in the field of view.                           */
  13. /*   Draws diagonal of a 1"x 1" box.               */
  14.  
  15. Status Page
  16. CurPage = Result
  17.  
  18. Status ScrollPos
  19. Parse VAR Result Left Top
  20. Top = Top + 1
  21. Left = Left + 1
  22. ydisp=top+1
  23. xdisp=left+1
  24.  
  25. GraphicTool
  26. DrawLine  CurPage Left Top xdisp ydisp
  27. Redraw
  28.  
  29.  
  30.